join array enclosing each value with quotes

74

join array enclosing each value with quotes -

dates.map(date => `'${date}'`).join(',');

Comments

Submit
0 Comments